<html>
	
	<head>
	<link rel="stylesheet" type="text/css" href="doc.css" />
	<style type="text/css">
.auto-style1 {
	text-decoration: underline;
}
</style>
	</head>

	<body>
		<h1 class="auto-style1">Running Guide</h1>
		<p><a href="#Assembler">Assembler</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<a href="#Linker">Linker</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<a href="#Simulator">Simulator</a></p>
		<h2>How to Run an Already Built <a name="Assembler">Assembler</a></h2>
		<p>
		Once the ass<span style="font-size:15.0pt;line-height:115%;
font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA">embler 
		has been built it will run with Java and only requires that 
		JRE(Java Runtime Environment) 5 or 6 be installed. If you do not have 
		this installed got to the following link provided to download Java :
		<a href="http://www.java.com/en/download/index.jsp">
		http://www.java.com/en/download/index.jsp</a></span></p>
		<p>The file &quot;assembler.jar&quot; that has been provided is located in the bin folder (the bin folder will be inside the build folder)</p>
		<p>Now go througt the following steps to run the assembler:</p>
		<p>1. Go to Start, type in cmd in the search column to run cmd (or go to 
		run and type in cmd).</p>
		<p><img alt="" height="546" src="images/pic1.jpg" width="429"></p>
			<p>&nbsp;</p>
		<p>2. In cmd go to the directory in which you saved the &quot;assembler.jar&quot; 
		file using the &quot;cd&quot; command. The image below shows an example of what this would look like.</p>
		<p><img alt="" height="350" src="images/pic2.jpg" width="673"></p>
		<p>&nbsp;</p>
		<p>3. Now to run the assembler, type in &quot;java -jar Assembler.jar 
		&lt;inputfilename.txt&gt; &lt;objectfilename.txt&gt;&quot;.&nbsp; If no object 
		file name is provided, the default name will be &quot;output.txt&quot;.&nbsp; In this case, the input file needs to be in the 
		bin folder.</p>
		<p><img alt="" height="383" src="images/pic3.jpg" width="857"></p>
		<p>&nbsp;</p>
		
			<p>4. If the input file is not in the bin folder you could also run 
			the assembler by typing in &quot;java -jar Assembler.jar [source file path]&quot;.</p>
		<h2>How to Run an Already Built <a name="Linker">Linker</a></h2>
		<p>The file &quot;Linker.jar&quot; that has been provided is located in the bin folder (the bin folder will be inside the build folder)</p>
		<p>Follow steps 1 and 2 above, then:</p>
		<p>3. To run the linker, type in: <br><br>&quot;java -jar Linker.jar 
		&lt;objectfile1.txt&gt; &lt;objectfile2.txt&gt; &lt;objectfile3.txt&gt; &lt;objectfile4.txt&gt; 
		&lt;objectfile5.txt&gt; -o &lt;loadfilename.txt&gt;&quot;<br><br>If no load file name is 
		provided with the &quot;-o &lt;loadfilename.txt&gt;&quot; tag, the default name will be 
		&quot;out.txt&quot;.&nbsp; Here, five object files are used, but you may use 
		between 1 and 5.&nbsp; In this case, all object files must be in the bin 
		folder.</p>
			
		<p><img alt="" height="342" src="images/linker.jpg" width="678"></p>
		<p>&nbsp;</p>
		<h2>How to Run an Already Built <a name="Simulator">Simulator</a></h2>
		<p>The file &quot;Simulator.jar&quot; that has been provided is located in the bin folder (the bin folder will be inside the build folder)</p>
		<p>Follow steps 1 and 2 above, then:</p>
		<p>3. To run the Simulator, type in: <br><br>&quot;java -jar Simulator.jar 
		&lt;loadfilename.txt&gt;&quot;<br><br>To turn debugging on, add the tag &quot; -debug&quot; 
		after the load file in the line above.  An external file may be specified after the debug flag, if desired.</p>
			
		<p><img alt="" height="342" src="images/sim.jpg" width="678"></p>
			
	</body>
</html>
